package com.chenyue.cm.user.service.impl;


import java.io.Serializable;

import javax.annotation.Resource;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenyue.cm.base.service.BaseServiceImpl;
import com.chenyue.cm.base.dao.LcBaseMapper;
import org.springframework.beans.factory.annotation.Qualifier;
import com.chenyue.cm.user.dao.JdAppRoleMapper;
import com.chenyue.cm.user.domain.JdAppRole;
import com.chenyue.cm.user.service.JdAppRoleService;
import org.springframework.stereotype.Service;


/**
 * @author chenyue-cm
 */
@Service(value = "JdAppRoleService")
public class JdAppRoleServiceImpl extends BaseServiceImpl<JdAppRole> implements JdAppRoleService {

	private final JdAppRoleMapper jdAppRoleMapper;

	public JdAppRoleServiceImpl(@Qualifier("jdAppRoleMapper") JdAppRoleMapper jdAppRoleMapper) {
		this.jdAppRoleMapper = jdAppRoleMapper;
	}

	@Override
	@Resource(name = "jdAppRoleMapper")
	public void setBaseMapper(LcBaseMapper<JdAppRole, Serializable> baseMapper) {
		this.baseMapper = baseMapper;
	}

}
